﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace AjaxToolkitDemo
{
    public partial class ComboboxTest : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Button1.Click += new EventHandler(Button1_Click);
        }

        void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text = "Post Value";
            for(int i=0;i< this.Request.Form.Count;i++)
            {
                string key = this.Request.Form.AllKeys[i] ;
                Label1.Text += key + ":" + this.Request.Form[key] + "<br/>";
            }
        }



    }
}
